package school.main;

import school.dao.StudentDAO;
import school.domain.Student;

public class StudentTest {

	public static void main(String[] args) {
		StudentDAO dao = StudentDAO.getInstance();
		Student stu = dao.selectStudentById(1);
		System.out.println(stu);
		System.out.println("1의 부서 정보 : " + stu.getSchool());
	
}
	}

